﻿<UserControl
	xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
	xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
	xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
	xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
	mc:Ignorable="d"
	xmlns:WorldClock_BO="clr-namespace:WorldClock.BO"
	xmlns:WorldClock_Converters="clr-namespace:WorldClock.Converters"
	x:Class="WorldClock.MainControl"
	x:Name="UserControl"
	d:DesignWidth="640" d:DesignHeight="480" Width="178" Height="178">
	<UserControl.Resources>
		<WorldClock_Converters:HourToDegree x:Key="HourToDegree"/>
		<WorldClock_Converters:MinuteToDegree x:Key="MinuteToDegree"/>
		<WorldClock_Converters:SecondToDegree x:Key="SecondToDegree"/>
		<WorldClock_BO:WorldTimeViewModel x:Key="WorldTimeViewModelDataSource" d:IsDataSource="True"/>
		<DataTemplate x:Key="TimeZoneDataTemplate">
			<Grid>
				<TextBlock Margin="0,0,0,4.04" Text="{Binding Name, Mode=Default}" TextWrapping="Wrap" d:LayoutOverrides="Width, Height"/>
			</Grid>
		</DataTemplate>
		<Style x:Key="ButtonFocusVisual">
			<Setter Property="Control.Template">
				<Setter.Value>
					<ControlTemplate>
						<Rectangle SnapsToDevicePixels="true" Stroke="Black" StrokeDashArray="1 2" StrokeThickness="1" Margin="2"/>
					</ControlTemplate>
				</Setter.Value>
			</Setter>
		</Style>
		<LinearGradientBrush x:Key="ButtonNormalBackground" EndPoint="0,1" StartPoint="0,0">
			<GradientStop Color="#F3F3F3" Offset="0"/>
			<GradientStop Color="#EBEBEB" Offset="0.5"/>
			<GradientStop Color="#DDDDDD" Offset="0.5"/>
			<GradientStop Color="#CDCDCD" Offset="1"/>
		</LinearGradientBrush>
		<SolidColorBrush x:Key="ButtonNormalBorder" Color="#FF707070"/>
		<Style x:Key="InfoButStyle" TargetType="{x:Type Button}">
			<Setter Property="FocusVisualStyle" Value="{StaticResource ButtonFocusVisual}"/>
			<Setter Property="Background" Value="{StaticResource ButtonNormalBackground}"/>
			<Setter Property="BorderBrush" Value="{StaticResource ButtonNormalBorder}"/>
			<Setter Property="BorderThickness" Value="1"/>
			<Setter Property="Foreground" Value="{DynamicResource {x:Static SystemColors.ControlTextBrushKey}}"/>
			<Setter Property="HorizontalContentAlignment" Value="Center"/>
			<Setter Property="VerticalContentAlignment" Value="Center"/>
			<Setter Property="Padding" Value="1"/>
			<Setter Property="Template">
				<Setter.Value>
					<ControlTemplate TargetType="{x:Type Button}">
						<Grid Width="Auto" Height="Auto">
							<Ellipse Fill="#00DADADA" Stroke="{x:Null}" Width="18" Height="18" x:Name="ellipse"/>
							<Label HorizontalAlignment="Center" SnapsToDevicePixels="True" Margin="0,0,2,0" VerticalAlignment="Center" Content="i" FontFamily="Monotype Corsiva" FontSize="16" FontWeight="Bold" Foreground="#FF111111" Padding="0,0,0,0" Width="Auto" Height="Auto"/>
						</Grid>
						<ControlTemplate.Triggers>
							<Trigger Property="IsMouseOver" Value="True">
								<Setter Property="Fill" TargetName="ellipse" Value="#19DADADA"/>
							</Trigger>
							<Trigger Property="IsKeyboardFocused" Value="true"/>
							<Trigger Property="ToggleButton.IsChecked" Value="true"/>
							<Trigger Property="IsEnabled" Value="false">
								<Setter Property="Foreground" Value="#ADADAD"/>
							</Trigger>
						</ControlTemplate.Triggers>
					</ControlTemplate>
				</Setter.Value>
			</Setter>
		</Style>
		<Storyboard x:Key="ShowConfigBtSB">
			<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="_configBt" Storyboard.TargetProperty="(UIElement.Opacity)">
				<SplineDoubleKeyFrame KeyTime="00:00:00.3000000" Value="1" KeySpline="1,0,1,1"/>
			</DoubleAnimationUsingKeyFrames>
		</Storyboard>
		<Storyboard x:Key="HideConfigBtSB">
			<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="_configBt" Storyboard.TargetProperty="(UIElement.Opacity)">
				<SplineDoubleKeyFrame KeyTime="00:00:00.3000000" Value="0" KeySpline="1,0,1,1"/>
			</DoubleAnimationUsingKeyFrames>
		</Storyboard>
	</UserControl.Resources>
	<UserControl.Triggers>
		<EventTrigger RoutedEvent="Mouse.MouseEnter">
			<BeginStoryboard x:Name="ShowConfigBtSB_BeginStoryboard" Storyboard="{StaticResource ShowConfigBtSB}"/>
		</EventTrigger>
		<EventTrigger RoutedEvent="Mouse.MouseLeave">
			<BeginStoryboard x:Name="HideConfigBtSB_BeginStoryboard" Storyboard="{StaticResource HideConfigBtSB}"/>
		</EventTrigger>
	</UserControl.Triggers>
	<Grid x:Name="_root" DataContext="{Binding Source={StaticResource WorldTimeViewModelDataSource}}">
		<Grid x:Name="_back" Margin="0" Visibility="Hidden">
			<Canvas x:Name="Layer_2" HorizontalAlignment="Left" VerticalAlignment="Top" Width="178">
				<Canvas Width="178" Height="177" Opacity="0.64999401569366455" Canvas.Left="0" Canvas.Top="0">
					<Image Source="Back_Images\Image.png" Stretch="Fill">
						<Image.RenderTransform>
							<MatrixTransform Matrix="0.75,0,0,0.75,0,0"/>
						</Image.RenderTransform>
						<Image.OpacityMask>
							<ImageBrush ImageSource="Back_Images\Image1.png"/>
						</Image.OpacityMask>
					</Image>
				</Canvas>
				<Path Fill="#FF0B0B0B" Stretch="Fill" Width="147" Height="146.5" Canvas.Left="14.266" Canvas.Top="12.5" Data="F1M370.2656,212C370.2656,218.627,364.8926,224,358.2656,224L235.2656,224C228.6386,224,223.2656,218.627,223.2656,212L223.2656,89.5C223.2656,82.873,228.6386,77.5,235.2656,77.5L358.2656,77.5C364.8926,77.5,370.2656,82.873,370.2656,89.5z"/>
				<Canvas Width="55" Height="51" Opacity="0.69999700784683228" Canvas.Left="116" Canvas.Top="120">
					<Image Source="Back_Images\Image2.png" Stretch="Fill">
						<Image.RenderTransform>
							<MatrixTransform Matrix="0.75,0,0,0.75,0,0"/>
						</Image.RenderTransform>
						<Image.OpacityMask>
							<ImageBrush ImageSource="Back_Images\Image3.png"/>
						</Image.OpacityMask>
					</Image>
				</Canvas>
				<Path Stretch="Fill" Width="24.078" Height="19.585" Canvas.Left="129.517" Canvas.Top="133.451" Data="F1M349.356,198.451C347.948,200.371,346.5,202.256,345.049,203.924L345.049,203.924C343.833,201.961,342.648,200.089,341.444,198.451L341.444,198.451L338.517,198.451L338.517,212.939C339.335,213.782,340.219,214.522,341.154,215.156L341.154,215.156C341.21,211.643,341.265,208.135,341.319,204.638L341.319,204.638C342.492,206.326,343.677,208.154,344.904,210.001L344.904,210.001C346.271,208.688,347.653,207.133,349.007,205.478L349.007,205.478C348.981,209.637,348.957,213.798,348.932,217.958L348.932,217.958C349.002,217.965,349.071,217.971,349.141,217.977L349.141,217.977C350.117,218.059,351.097,218.056,352.072,217.968L352.072,217.968C352.091,217.967,352.11,217.965,352.128,217.963L352.128,217.963C352.114,215.895,352.101,213.828,352.087,211.76L352.087,211.76C352.308,210.589,354.487,210.073,354.583,211.537L354.583,211.537C354.685,213.068,354.707,217.516,354.707,217.518L354.707,217.518C355.693,217.267,356.662,216.924,357.599,216.491L357.599,216.491C357.599,216.491,357.497,212.049,357.468,210.828L357.468,210.828C357.459,209.631,360.101,208.46,360.107,209.791L360.107,209.791C360.136,211.186,360.229,214.969,360.229,214.968L360.229,214.968C361.064,214.377,361.857,213.7,362.595,212.939L362.595,212.939L362.595,206.846C362.59,206.016,362.102,204.174,359.418,204.773L359.418,204.773C356.719,205.348,356.108,207.637,356.116,207.663L356.116,207.663C356.112,207.658,355.334,205.341,352.723,205.696L352.723,205.696C352.48,205.73,352.264,205.801,352.048,205.869L352.048,205.869C352.032,203.397,352.017,200.924,352,198.451L352,198.451z">
					<Path.Fill>
						<LinearGradientBrush EndPoint="0.654,0.997" StartPoint="0.245,-0.134">
							<GradientStop Color="#FFEDEFF0" Offset="0"/>
							<GradientStop Color="#FF8C8C8C" Offset="1"/>
						</LinearGradientBrush>
					</Path.Fill>
				</Path>
				<Path Stretch="Fill" Stroke="#FF636363" StrokeEndLineCap="Flat" StrokeLineJoin="Miter" StrokeMiterLimit="4" StrokeStartLineCap="Flat" StrokeThickness="0.5" Width="24.578" Height="20.084" Canvas.Left="129.267" Canvas.Top="133.202" Data="M359.418,204.7725C356.719,205.3475,356.108,207.6365,356.116,207.6635C356.112,207.6585,355.334,205.3405,352.724,205.6965C352.48,205.7305,352.264,205.8005,352.049,205.8695C352.032,203.3965,352.017,200.9245,352,198.4515L349.355,198.4515C347.948,200.3715,346.5,202.2555,345.049,203.9235C343.833,201.9605,342.648,200.0895,341.443,198.4515L338.517,198.4515L338.517,212.9385C339.335,213.7825,340.219,214.5215,341.154,215.1565C341.21,211.6425,341.265,208.1355,341.318,204.6375C342.492,206.3265,343.677,208.1545,344.904,210.0015C346.271,208.6875,347.653,207.1325,349.007,205.4775C348.981,209.6375,348.957,213.7975,348.932,217.9585C349.002,217.9645,349.071,217.9705,349.142,217.9765C350.117,218.0585,351.098,218.0555,352.072,217.9675C352.091,217.9665,352.109,217.9645,352.128,217.9625C352.114,215.8955,352.101,213.8285,352.087,211.7595C352.308,210.5885,354.486,210.0735,354.583,211.5375C354.685,213.0685,354.707,217.5155,354.707,217.5175C355.693,217.2665,356.662,216.9235,357.599,216.4915C357.599,216.4915,357.497,212.0485,357.469,210.8285C357.459,209.6305,360.101,208.4605,360.107,209.7915C360.136,211.1865,360.229,214.9685,360.229,214.9675C361.064,214.3765,361.856,213.7005,362.595,212.9385L362.595,206.8465C362.59,206.0155,362.103,204.1745,359.418,204.7725z"/>
			</Canvas>
			<Button x:Name="_saveBt" Margin="26,0,0,29.373" VerticalAlignment="Bottom" Content="Ok" HorizontalAlignment="Left" Width="35"/>
			<StackPanel Margin="26,17,24.667,24" Orientation="Vertical" d:LayoutOverrides="Height">
				<Label Content="Location" Foreground="White" FontFamily="Century Gothic" Margin="-4,0,0,0"/>
				<ComboBox x:Name="_timeZonesLbx" VerticalAlignment="Top" ItemTemplate="{DynamicResource TimeZoneDataTemplate}" ItemsSource="{Binding TimeZoneInfoViewModels, Mode=Default}" Height="26"/>
				<Label Content="Custom city name" FontFamily="Century Gothic" Foreground="White" Margin="-4,5,0,0"/>
				<TextBox x:Name="_customCityNameTbx" Text="{Binding ShortName, Mode=TwoWay, UpdateSourceTrigger=Default}" TextWrapping="Wrap" DataContext="{Binding SelectedItem, ElementName=_timeZonesLbx, Mode=Default}" Height="22"/>
			</StackPanel>
		</Grid>
		<Grid x:Name="_front" Margin="0" DataContext="{Binding SelectedItem, ElementName=_timeZonesLbx, Mode=Default}">
			<Canvas x:Name="Layer_1">
				<Canvas Width="178" Height="178" Opacity="0.64999401569366455" Canvas.Left="0" Canvas.Top="0">
					<Image Source="Front_Images\Front_Images\Image.png" Stretch="Fill">
						<Image.RenderTransform>
							<MatrixTransform Matrix="0.75,0,0,0.75,0,0"/>
						</Image.RenderTransform>
						<Image.OpacityMask>
							<ImageBrush ImageSource="Front_Images\Front_Images\Image1.png"/>
						</Image.OpacityMask>
					</Image>
				</Canvas>
				<Path Fill="#FF0B0B0B" Stretch="Fill" Width="147" Height="146.5" Canvas.Left="14.031" Canvas.Top="12.852" Data="F1M179.0313,209.3516C179.0313,215.9786,173.6583,221.3516,167.0313,221.3516L44.0313,221.3516C37.4043,221.3516,32.0313,215.9786,32.0313,209.3516L32.0313,86.8516C32.0313,80.2246,37.4043,74.8516,44.0313,74.8516L167.0313,74.8516C173.6583,74.8516,179.0313,80.2246,179.0313,86.8516z"/>
				<Path Fill="#FF434343" Stretch="Fill" Width="141.395" Height="70.768" Canvas.Left="16.833" Canvas.Top="15.334" Data="F1M164.1895,77.3335L46.8735,77.3335C40.2235,77.3335,34.8335,82.7455,34.8335,89.4215L34.8335,118.8965L34.8335,134.6765L34.8335,148.1015L176.2285,148.1015L176.2285,134.6765L176.2285,118.8965L176.2285,89.4215C176.2285,82.7455,170.8385,77.3335,164.1895,77.3335"/>
				<Path Stretch="Fill" Width="109.938" Height="109.938" Canvas.Left="33.146" Canvas.Top="31.132" Data="F1M51.146,148.101C51.146,178.459,75.757,203.07,106.116,203.07L106.116,203.07C136.473,203.07,161.084,178.459,161.084,148.101L161.084,148.101C161.084,117.743,136.473,93.132,106.116,93.132L106.116,93.132C75.757,93.132,51.146,117.743,51.146,148.101">
					<Path.Fill>
						<RadialGradientBrush Center="0.5,0.5" GradientOrigin="0.5,0.5" RadiusX="0.5" RadiusY="0.5">
							<GradientStop Color="#FFD1D1D1" Offset="0"/>
							<GradientStop Color="#FFE4E4E4" Offset="1"/>
						</RadialGradientBrush>
					</Path.Fill>
				</Path>
				<Path Stretch="Fill" Stroke="Black" StrokeEndLineCap="Flat" StrokeLineJoin="Miter" StrokeMiterLimit="4" StrokeStartLineCap="Flat" StrokeThickness="0.5" Width="110.438" Height="110.437" Canvas.Left="32.896" Canvas.Top="30.883" Data="M161.084,148.1011C161.084,178.4591,136.474,203.0701,106.116,203.0701C75.757,203.0701,51.146,178.4591,51.146,148.1011C51.146,117.7431,75.757,93.1331,106.116,93.1331C136.474,93.1331,161.084,117.7431,161.084,148.1011z"/>
				<Canvas x:Name="TextBlock" Width="91.179" Height="114.682" Canvas.Left="42.395" Canvas.Top="39.617">
					<Path Fill="Black" Stretch="Fill" Width="3.422" Height="9.344" Canvas.Left="39.329" Canvas.Top="0" Data="F1M103.14555,110.9609L102.004925,110.9609L102.004925,103.67965C101.723675,103.945275,101.348675,104.2109,100.911175,104.476525C100.473675,104.74215,100.067425,104.92965,99.723675,105.05465L99.723675,103.945275C100.348675,103.664025,100.911175,103.30465,101.39555,102.86715C101.8643,102.445275,102.20805,102.0234,102.411175,101.61715L103.14555,101.61715L103.14555,110.9609"/>
					<Path Fill="Black" Stretch="Fill" Width="6.159" Height="9.344" Canvas.Left="45.523" Canvas.Top="0" Data="F1M112.076675,109.86715L112.076675,110.9609L105.920425,110.9609C105.9048,110.695275,105.951675,110.42965,106.06105,110.164025C106.2173,109.757775,106.4673,109.3359,106.81105,108.92965C107.1548,108.5234,107.6548,108.05465,108.31105,107.5234C109.31105,106.695275,109.99855,106.039025,110.357925,105.55465C110.701675,105.070275,110.889175,104.61715,110.889175,104.17965C110.889175,103.726525,110.7173,103.351525,110.4048,103.039025C110.076675,102.726525,109.6548,102.570275,109.139175,102.570275C108.576675,102.570275,108.139175,102.74215,107.81105,103.070275C107.482925,103.3984,107.31105,103.851525,107.31105,104.42965L106.139175,104.30465C106.2173,103.42965,106.514175,102.7734,107.045425,102.30465C107.56105,101.851525,108.264175,101.61715,109.1548,101.61715C110.045425,101.61715,110.74855,101.86715,111.2798,102.36715C111.795425,102.86715,112.06105,103.476525,112.06105,104.195275C112.06105,104.570275,111.982925,104.945275,111.826675,105.30465C111.670425,105.664025,111.420425,106.039025,111.076675,106.445275C110.7173,106.851525,110.12355,107.382775,109.31105,108.070275C108.62355,108.6484,108.170425,109.039025,107.982925,109.24215C107.795425,109.4609,107.639175,109.664025,107.514175,109.86715L112.076675,109.86715"/>
					<Path Fill="Black" Stretch="Fill" Width="6.156" Height="9.5" Canvas.Left="42.006" Canvas.Top="82.121" Data="F1M108.38455,186.05065L107.243925,186.1444C107.150175,185.7069,107.00955,185.378775,106.82205,185.160025C106.50955,184.847525,106.118925,184.67565,105.681425,184.67565C105.306425,184.67565,104.993925,184.785025,104.712675,184.98815C104.3533,185.253775,104.07205,185.628775,103.868925,186.128775C103.650175,186.628775,103.5408,187.347525,103.5408,188.285025C103.806425,187.878775,104.13455,187.566275,104.5408,187.36315C104.94705,187.160025,105.368925,187.05065,105.806425,187.05065C106.556425,187.05065,107.212675,187.3319,107.743925,187.8944C108.275175,188.4569,108.556425,189.17565,108.556425,190.066275C108.556425,190.660025,108.4158,191.191275,108.1658,191.691275C107.9158,192.191275,107.57205,192.5819,107.13455,192.847525C106.69705,193.097525,106.19705,193.23815,105.63455,193.23815C104.681425,193.23815,103.900175,192.8944,103.306425,192.191275C102.69705,191.503775,102.400175,190.347525,102.400175,188.722525C102.400175,186.941275,102.7283,185.628775,103.400175,184.80065C103.9783,184.097525,104.75955,183.73815,105.743925,183.73815C106.462675,183.73815,107.07205,183.9569,107.5408,184.36315C108.00955,184.7694,108.2908,185.3319,108.38455,186.05065L108.38455,186.05065 M103.712675,190.066275C103.712675,190.472525,103.7908,190.847525,103.962675,191.2069C104.118925,191.566275,104.3533,191.8319,104.6658,192.0194C104.962675,192.2069,105.275175,192.30065,105.618925,192.30065C106.087675,192.30065,106.50955,192.11315,106.8533,191.722525C107.19705,191.3319,107.38455,190.80065,107.38455,190.128775C107.38455,189.48815,107.212675,188.98815,106.868925,188.61315C106.525175,188.23815,106.087675,188.05065,105.57205,188.05065C105.0408,188.05065,104.6033,188.23815,104.243925,188.61315C103.88455,188.98815,103.712675,189.472525,103.712675,190.066275L103.712675,190.066275"/>
					<Path Fill="Black" Stretch="Fill" Width="6.094" Height="9.516" Canvas.Left="85.085" Canvas.Top="40.807" Data="F1M145.479675,149.314775L146.6203,149.158525C146.7453,149.814775,146.979675,150.283525,147.292175,150.564775C147.604675,150.846025,147.979675,150.98665,148.448425,150.98665C148.979675,150.98665,149.417175,150.814775,149.792175,150.439775C150.167175,150.064775,150.354675,149.61165,150.354675,149.04915C150.354675,148.5179,150.1828,148.096025,149.83905,147.752275C149.4953,147.408525,149.073425,147.23665,148.542175,147.23665C148.323425,147.23665,148.042175,147.283525,147.729675,147.36165L147.854675,146.36165C147.9328,146.377275,147.9953,146.377275,148.042175,146.377275C148.52655,146.377275,148.96405,146.252275,149.354675,146.002275C149.7453,145.752275,149.948425,145.346025,149.948425,144.814775C149.948425,144.408525,149.792175,144.064775,149.510925,143.783525C149.229675,143.502275,148.854675,143.36165,148.417175,143.36165C147.96405,143.36165,147.58905,143.502275,147.3078,143.783525C147.010925,144.064775,146.823425,144.48665,146.729675,145.033525L145.58905,144.8304C145.729675,144.0804,146.042175,143.48665,146.542175,143.064775C147.042175,142.6429,147.65155,142.42415,148.385925,142.42415C148.885925,142.42415,149.354675,142.533525,149.792175,142.752275C150.21405,142.971025,150.542175,143.2679,150.77655,143.6429C150.9953,144.0179,151.1203,144.42415,151.1203,144.846025C151.1203,145.252275,151.010925,145.61165,150.792175,145.939775C150.573425,146.283525,150.2453,146.533525,149.83905,146.721025C150.3703,146.86165,150.792175,147.127275,151.104675,147.5179C151.417175,147.92415,151.573425,148.42415,151.573425,149.0179C151.573425,149.8304,151.27655,150.533525,150.6828,151.096025C150.08905,151.658525,149.33905,151.939775,148.4328,151.939775C147.6203,151.939775,146.9328,151.7054,146.40155,151.2054C145.854675,150.721025,145.542175,150.096025,145.479675,149.314775L145.479675,149.314775"/>
					<Path Fill="Black" Stretch="Fill" Width="6.109" Height="9.5" Canvas.Left="0" Canvas.Top="41.002" Data="F1M60.56655,149.80665L61.6603,149.7129C61.75405,150.228525,61.925925,150.603525,62.19155,150.8379C62.44155,151.072275,62.7853,151.18165,63.207175,151.18165C63.550925,151.18165,63.8478,151.103525,64.113425,150.947275C64.37905,150.791025,64.5978,150.572275,64.769675,150.30665C64.94155,150.041025,65.082175,149.68165,65.19155,149.2129C65.300925,148.759775,65.363425,148.291025,65.363425,147.80665C65.363425,147.759775,65.363425,147.68165,65.363425,147.5879C65.12905,147.9629,64.81655,148.259775,64.425925,148.478525C64.019675,148.697275,63.5978,148.80665,63.144675,148.80665C62.363425,148.80665,61.7228,148.541025,61.19155,147.978525C60.6603,147.416025,60.394675,146.68165,60.394675,145.759775C60.394675,144.822275,60.6603,144.05665,61.2228,143.478525C61.769675,142.916025,62.4728,142.61915,63.31655,142.61915C63.9103,142.61915,64.4728,142.791025,64.9728,143.11915C65.4728,143.447275,65.8478,143.916025,66.113425,144.509775C66.363425,145.103525,66.50405,145.978525,66.50405,147.11915C66.50405,148.30665,66.363425,149.259775,66.113425,149.9629C65.863425,150.666025,65.4728,151.197275,64.9728,151.572275C64.457175,151.947275,63.863425,152.11915,63.175925,152.11915C62.44155,152.11915,61.8478,151.93165,61.37905,151.5254C60.9103,151.11915,60.644675,150.55665,60.56655,149.80665L60.56655,149.80665 M65.238425,145.697275C65.238425,145.041025,65.050925,144.5254,64.707175,144.1504C64.363425,143.7754,63.94155,143.572275,63.457175,143.572275C62.94155,143.572275,62.50405,143.791025,62.12905,144.197275C61.75405,144.603525,61.56655,145.1504,61.56655,145.80665C61.56655,146.4004,61.738425,146.86915,62.0978,147.24415C62.44155,147.61915,62.894675,147.791025,63.425925,147.791025C63.957175,147.791025,64.37905,147.61915,64.7228,147.24415C65.06655,146.86915,65.238425,146.353525,65.238425,145.697275L65.238425,145.697275"/>
					<Path Fill="Black" Stretch="Fill" Width="3.422" Height="9.344" Canvas.Left="63.509" Canvas.Top="6.604" Data="F1M127.32555,117.5649L126.184925,117.5649L126.184925,110.28365C125.903675,110.549275,125.528675,110.8149,125.091175,111.080525C124.653675,111.34615,124.247425,111.53365,123.903675,111.65865L123.903675,110.549275C124.528675,110.268025,125.091175,109.90865,125.57555,109.47115C126.0443,109.049275,126.38805,108.6274,126.591175,108.22115L127.32555,108.22115L127.32555,117.5649"/>
					<Path Fill="Black" Stretch="Fill" Width="6.159" Height="9.344" Canvas.Left="78.179" Canvas.Top="21.528" Data="F1M144.732675,131.39515L144.732675,132.4889L138.576425,132.4889C138.5608,132.223275,138.607675,131.95765,138.71705,131.692025C138.8733,131.285775,139.1233,130.8639,139.46705,130.45765C139.8108,130.0514,140.3108,129.58265,140.96705,129.0514C141.96705,128.223275,142.65455,127.567025,143.013925,127.08265C143.357675,126.598275,143.545175,126.14515,143.545175,125.70765C143.545175,125.254525,143.3733,124.879525,143.0608,124.567025C142.732675,124.254525,142.3108,124.098275,141.795175,124.098275C141.232675,124.098275,140.795175,124.27015,140.46705,124.598275C140.138925,124.9264,139.96705,125.379525,139.96705,125.95765L138.795175,125.83265C138.8733,124.95765,139.170175,124.3014,139.701425,123.83265C140.21705,123.379525,140.920175,123.14515,141.8108,123.14515C142.701425,123.14515,143.40455,123.39515,143.9358,123.89515C144.451425,124.39515,144.71705,125.004525,144.71705,125.723275C144.71705,126.098275,144.638925,126.473275,144.482675,126.83265C144.326425,127.192025,144.076425,127.567025,143.732675,127.973275C143.3733,128.379525,142.77955,128.910775,141.96705,129.598275C141.27955,130.1764,140.826425,130.567025,140.638925,130.77015C140.451425,130.9889,140.295175,131.192025,140.170175,131.39515L144.732675,131.39515"/>
					<Path Fill="Black" Stretch="Fill" Width="6.438" Height="9.312" Canvas.Left="78.964" Canvas.Top="61.885" Data="F1M143.389925,172.8149L143.389925,170.580525L139.358675,170.580525L139.358675,169.53365L143.59305,163.5024L144.53055,163.5024L144.53055,169.53365L145.796175,169.53365L145.796175,170.580525L144.53055,170.580525L144.53055,172.8149L143.389925,172.8149 M143.389925,169.53365L143.389925,165.34615L140.46805,169.53365L143.389925,169.53365"/>
					<Path Fill="Black" Stretch="Fill" Width="6.156" Height="9.328" Canvas.Left="62.634" Canvas.Top="77.327" Data="F1M123.028675,185.6784L124.216175,185.569025C124.309925,186.162775,124.51305,186.6159,124.841175,186.89715C125.153675,187.194025,125.5443,187.33465,126.01305,187.33465C126.559925,187.33465,127.028675,187.131525,127.403675,186.70965C127.778675,186.3034,127.9818,185.756525,127.9818,185.069025C127.9818,184.412775,127.7943,183.89715,127.434925,183.52215C127.059925,183.14715,126.591175,182.95965,125.997425,182.95965C125.622425,182.95965,125.278675,183.0534,124.9818,183.20965C124.684925,183.381525,124.45055,183.600275,124.2943,183.850275L123.2318,183.70965L124.122425,178.944025L128.747425,178.944025L128.747425,180.02215L125.0443,180.02215L124.5443,182.52215C125.091175,182.14715,125.6693,181.944025,126.2943,181.944025C127.1068,181.944025,127.778675,182.225275,128.341175,182.787775C128.903675,183.350275,129.184925,184.08465,129.184925,184.95965C129.184925,185.8034,128.934925,186.537775,128.45055,187.14715C127.8568,187.89715,127.0443,188.27215,126.01305,188.27215C125.1693,188.27215,124.466175,188.037775,123.934925,187.569025C123.403675,187.100275,123.091175,186.45965,123.028675,185.6784L123.028675,185.6784"/>
					<Path Fill="Black" Stretch="Fill" Width="6.031" Height="9.188" Canvas.Left="20.927" Canvas.Top="76.505" Data="F1M81.322175,179.21615L81.322175,178.1224L87.353425,178.1224L87.353425,179.013025C86.759675,179.65365,86.165925,180.4974,85.5878,181.52865C84.99405,182.575525,84.55655,183.65365,84.24405,184.7474C84.009675,185.52865,83.86905,186.388025,83.80655,187.3099L82.634675,187.3099C82.634675,186.59115,82.7753,185.700525,83.05655,184.669275C83.3378,183.638025,83.728425,182.638025,84.24405,181.669275C84.74405,180.700525,85.290925,179.888025,85.884675,179.21615L81.322175,179.21615"/>
					<Path Fill="Black" Stretch="Fill" Width="6.125" Height="9.5" Canvas.Left="6.211" Canvas.Top="61.048" Data="F1M68.371675,166.962025C67.902925,166.79015,67.54355,166.54015,67.3248,166.22765C67.090425,165.91515,66.98105,165.524525,66.98105,165.0714C66.98105,164.399525,67.215425,163.837025,67.6998,163.368275C68.184175,162.899525,68.840425,162.66515,69.652925,162.66515C70.465425,162.66515,71.10605,162.91515,71.60605,163.3839C72.10605,163.85265,72.35605,164.430775,72.35605,165.10265C72.35605,165.54015,72.23105,165.91515,72.0123,166.22765C71.777925,166.54015,71.434175,166.79015,70.98105,166.962025C71.54355,167.149525,71.98105,167.462025,72.277925,167.868275C72.5748,168.29015,72.73105,168.79015,72.73105,169.35265C72.73105,170.149525,72.4498,170.8214,71.8873,171.35265C71.3248,171.899525,70.5748,172.16515,69.66855,172.16515C68.746675,172.16515,68.0123,171.899525,67.4498,171.35265C66.8873,170.8214,66.60605,170.1339,66.60605,169.3214C66.60605,168.72765,66.746675,168.212025,67.059175,167.805775C67.371675,167.399525,67.809175,167.118275,68.371675,166.962025L68.371675,166.962025 M68.1373,165.024525C68.1373,165.462025,68.277925,165.8214,68.559175,166.10265C68.840425,166.3839,69.215425,166.524525,69.66855,166.524525C70.10605,166.524525,70.48105,166.399525,70.7623,166.118275C71.04355,165.837025,71.184175,165.493275,71.184175,165.087025C71.184175,164.680775,71.027925,164.3214,70.746675,164.04015C70.4498,163.7589,70.090425,163.60265,69.66855,163.60265C69.23105,163.60265,68.85605,163.743275,68.5748,164.024525C68.277925,164.305775,68.1373,164.649525,68.1373,165.024525L68.1373,165.024525 M67.777925,169.3214C67.777925,169.649525,67.85605,169.962025,68.0123,170.274525C68.16855,170.587025,68.3873,170.8214,68.6998,170.97765C68.996675,171.149525,69.3248,171.22765,69.684175,171.22765C70.215425,171.22765,70.66855,171.055775,71.027925,170.712025C71.371675,170.368275,71.559175,169.91515,71.559175,169.368275C71.559175,168.8214,71.371675,168.368275,71.0123,168.0089C70.6373,167.649525,70.184175,167.462025,69.6373,167.462025C69.10605,167.462025,68.652925,167.649525,68.309175,167.993275C67.9498,168.35265,67.777925,168.79015,67.777925,169.3214L67.777925,169.3214"/>
					<Path Fill="Black" Stretch="Fill" Width="3.422" Height="9.344" Canvas.Left="5.49" Canvas.Top="21.723" Data="F1M69.30655,132.6839L68.165925,132.6839L68.165925,125.40265C67.884675,125.668275,67.509675,125.9339,67.072175,126.199525C66.634675,126.46515,66.228425,126.65265,65.884675,126.77765L65.884675,125.668275C66.509675,125.387025,67.072175,125.02765,67.55655,124.59015C68.0253,124.168275,68.36905,123.7464,68.572175,123.34015L69.30655,123.34015L69.30655,132.6839"/>
					<Path Fill="Black" Stretch="Fill" Width="6.062" Height="9.5" Canvas.Left="11.843" Canvas.Top="21.723" Data="F1M72.237675,128.09015C72.237675,126.9964,72.34705,126.1214,72.5658,125.449525C72.78455,124.77765,73.1283,124.262025,73.581425,123.887025C74.018925,123.52765,74.581425,123.34015,75.268925,123.34015C75.768925,123.34015,76.206425,123.449525,76.581425,123.65265C76.956425,123.855775,77.2533,124.137025,77.5033,124.512025C77.7533,124.887025,77.9408,125.355775,78.081425,125.90265C78.22205,126.449525,78.300175,127.1839,78.300175,128.09015C78.300175,129.1839,78.175175,130.074525,77.956425,130.7464C77.737675,131.418275,77.393925,131.9339,76.956425,132.293275C76.5033,132.668275,75.9408,132.84015,75.268925,132.84015C74.362675,132.84015,73.65955,132.52765,73.143925,131.8714C72.53455,131.105775,72.237675,129.84015,72.237675,128.09015L72.237675,128.09015 M73.40955,128.09015C73.40955,129.6214,73.581425,130.65265,73.9408,131.15265C74.28455,131.65265,74.737675,131.90265,75.268925,131.90265C75.78455,131.90265,76.22205,131.65265,76.581425,131.15265C76.9408,130.65265,77.1283,129.6214,77.1283,128.09015C77.1283,126.5589,76.9408,125.543275,76.581425,125.043275C76.22205,124.543275,75.78455,124.293275,75.2533,124.293275C74.72205,124.293275,74.300175,124.512025,73.987675,124.949525C73.59705,125.52765,73.40955,126.574525,73.40955,128.09015L73.40955,128.09015"/>
					<Path Fill="Black" Stretch="Fill" Width="3.422" Height="9.344" Canvas.Left="18.607" Canvas.Top="5.798" Data="F1M82.42355,116.7589L81.282925,116.7589L81.282925,109.47765C81.001675,109.743275,80.626675,110.0089,80.189175,110.274525C79.751675,110.54015,79.345425,110.72765,79.001675,110.85265L79.001675,109.743275C79.626675,109.462025,80.189175,109.10265,80.67355,108.66515C81.1423,108.243275,81.48605,107.8214,81.689175,107.41515L82.42355,107.41515L82.42355,116.7589"/>
					<Path Fill="Black" Stretch="Fill" Width="3.422" Height="9.344" Canvas.Left="24.873" Canvas.Top="5.798" Data="F1M88.68955,116.7589L87.548925,116.7589L87.548925,109.47765C87.267675,109.743275,86.892675,110.0089,86.455175,110.274525C86.017675,110.54015,85.611425,110.72765,85.267675,110.85265L85.267675,109.743275C85.892675,109.462025,86.455175,109.10265,86.93955,108.66515C87.4083,108.243275,87.75205,107.8214,87.955175,107.41515L88.68955,107.41515L88.68955,116.7589"/>
				</Canvas>
				<Canvas x:Name="_hourNeedShadow" Width="31" Height="56" Opacity="0.35000601410865784" Canvas.Left="73" Canvas.Top="47" RenderTransformOrigin="0.48,0.7">
					<Canvas.RenderTransform>
						<TransformGroup>
							<ScaleTransform/>
							<SkewTransform/>
							<RotateTransform Angle="{Binding TotalMinutes, Converter={StaticResource HourToDegree}, Mode=Default}"/>
							<TranslateTransform/>
						</TransformGroup>
					</Canvas.RenderTransform>
					<Image Source="Front_Images\Front_Images\Image2.png" Stretch="Fill">
						<Image.RenderTransform>
							<MatrixTransform Matrix="0.75,0,0,0.75,0,0"/>
						</Image.RenderTransform>
						<Image.OpacityMask>
							<ImageBrush ImageSource="Front_Images\Front_Images\Image3.png"/>
						</Image.OpacityMask>
					</Image>
				</Canvas>
				<Path x:Name="_hourNeedle" Stretch="Fill" Width="12.659" Height="36.748" Canvas.Left="81.237" Canvas.Top="55.866" Data="F1M100.584,144.387C99.743,145.463,99.237,146.814,99.237,148.284L99.237,148.284C99.237,151.779,102.07,154.614,105.566,154.614L105.566,154.614C109.063,154.614,111.896,151.779,111.896,148.284L111.896,148.284C111.896,146.822,111.397,145.481,110.564,144.409L110.564,144.409L105.327,117.866z M100.252,148.301C100.252,145.367,102.631,142.987,105.566,142.987L105.566,142.987C108.5,142.987,110.879,145.367,110.879,148.301L110.879,148.301C110.879,151.236,108.5,153.614,105.566,153.614L105.566,153.614C102.631,153.614,100.252,151.236,100.252,148.301" RenderTransformOrigin="0.5,0.83">
					<Path.RenderTransform>
						<TransformGroup>
							<ScaleTransform/>
							<SkewTransform/>
							<RotateTransform Angle="{Binding TotalMinutes, Converter={StaticResource HourToDegree}, Mode=Default}"/>
							<TranslateTransform/>
						</TransformGroup>
					</Path.RenderTransform>
					<Path.Fill>
						<LinearGradientBrush EndPoint="0.5,0" StartPoint="0.5,1">
							<GradientStop Color="#FF363536" Offset="0"/>
							<GradientStop Color="#FF221E1F" Offset="1"/>
						</LinearGradientBrush>
					</Path.Fill>
				</Path>
				<Canvas x:Name="_minutesNeedleShadow" Width="31" Height="69" Opacity="0.35000601410865784" Canvas.Left="73" Canvas.Top="34" RenderTransformOrigin="0.47,0.76">
					<Canvas.RenderTransform>
						<TransformGroup>
							<ScaleTransform/>
							<SkewTransform/>
							<RotateTransform Angle="{Binding TotalMinutes, Converter={StaticResource MinuteToDegree}, Mode=Default}"/>
							<TranslateTransform/>
						</TransformGroup>
					</Canvas.RenderTransform>
					<Image Source="Front_Images\Front_Images\Image4.png" Stretch="Fill">
						<Image.RenderTransform>
							<MatrixTransform Matrix="0.75,0,0,0.75,0,0"/>
						</Image.RenderTransform>
						<Image.OpacityMask>
							<ImageBrush ImageSource="Front_Images\Front_Images\Image5.png"/>
						</Image.OpacityMask>
					</Image>
				</Canvas>
				<Path x:Name="_minutesNeedle" Stretch="Fill" Width="12.658" Height="49.841" Canvas.Left="81.23" Canvas.Top="42.798" Data="F1M101.087,143.834C98.874,146.042,98.578,149.599,100.527,152.151L100.527,152.151C102.65,154.928,106.623,155.461,109.4,153.339L109.4,153.339C112.179,151.216,112.71,147.242,110.588,144.466L110.588,144.466C110.376,144.188,110.142,143.939,109.896,143.707L109.896,143.707L105.21,104.798z M101.344,151.547C99.563,149.215,100.01,145.881,102.343,144.098L102.343,144.098C104.674,142.318,108.009,142.764,109.79,145.096L109.79,145.096C111.57,147.428,111.125,150.763,108.794,152.543L108.794,152.543C107.83,153.279,106.696,153.635,105.571,153.635L105.571,153.635C103.972,153.635,102.391,152.916,101.344,151.547" RenderTransformOrigin="0.5,0.87">
					<Path.RenderTransform>
						<TransformGroup>
							<ScaleTransform/>
							<SkewTransform/>
							<RotateTransform Angle="{Binding TotalMinutes, Converter={StaticResource MinuteToDegree}, Mode=Default}"/>
							<TranslateTransform/>
						</TransformGroup>
					</Path.RenderTransform>
					<Path.Fill>
						<LinearGradientBrush EndPoint="0.5,0" StartPoint="0.5,1">
							<GradientStop Color="#FF3C3B3D" Offset="0"/>
							<GradientStop Color="Black" Offset="1"/>
						</LinearGradientBrush>
					</Path.Fill>
				</Path>
				<Path x:Name="_secondsNeedle" Stretch="Fill" Width="2.018" Height="48.06" Canvas.Left="86.485" Canvas.Top="37.719" Data="F1M104.485,147.777L106.469,147.779L106.503,99.72L104.519,99.719z" RenderTransformOrigin="0.5,1">
					<Path.Fill>
						<LinearGradientBrush EndPoint="0.412,0" StartPoint="0.588,1">
							<GradientStop Color="#FFCF0019" Offset="0"/>
							<GradientStop Color="#FFFF2E47" Offset="1"/>
						</LinearGradientBrush>
					</Path.Fill>
					<Path.RenderTransform>
						<TransformGroup>
							<ScaleTransform/>
							<SkewTransform/>
							<RotateTransform Angle="{Binding Seconds, Converter={StaticResource SecondToDegree}, Mode=Default}"/>
							<TranslateTransform/>
						</TransformGroup>
					</Path.RenderTransform>
				</Path>
				<Path Fill="#FFAE1117" Stretch="Fill" Width="6.627" Height="6.627" Canvas.Left="84.362" Canvas.Top="83.076" Data="F1M108.9893,148.3643C109.0023,150.1943,107.5313,151.6893,105.6993,151.7033C103.8713,151.7163,102.3763,150.2433,102.3623,148.4133C102.3483,146.5833,103.8223,145.0903,105.6503,145.0763C107.4813,145.0623,108.9753,146.5343,108.9893,148.3643"/>
				<Path Stretch="Fill" Width="4.891" Height="5.204" Canvas.Left="85.227" Canvas.Top="83.279" Data="F1M105.651,145.279C104.302,145.289,103.217,146.463,103.227,147.899L103.227,147.899C103.238,149.337,104.34,150.493,105.69,150.483L105.69,150.483C107.041,150.473,108.129,149.301,108.118,147.863L108.118,147.863C108.107,146.432,107.012,145.279,105.668,145.279L105.668,145.279C105.663,145.279,105.657,145.279,105.651,145.279">
					<Path.Fill>
						<LinearGradientBrush EndPoint="1,0.497" StartPoint="0,0.504">
							<GradientStop Color="#FFCF0019" Offset="0"/>
							<GradientStop Color="#FFFF2E47" Offset="1"/>
						</LinearGradientBrush>
					</Path.Fill>
				</Path>
				<Canvas Width="106.493" Height="46.447" Opacity="0.39999398589134216" Canvas.Left="34.807" Canvas.Top="33.133">
					<Canvas Width="106.493" Height="46.447" Canvas.Left="0" Canvas.Top="0">
						<Canvas.Clip>
							<PathGeometry Figures="M107.474,135 C125.785,135 143.271,137.091 159.3,140.888 C154.996,114.918 132.829,95.133 106.115,95.133 C79.16,95.133 56.826,115.269 52.807,141.58 C69.6,137.345 88.075,135 107.474,135" FillRule="Nonzero">
								<PathGeometry.Transform>
									<MatrixTransform Matrix="1,0,0,1,-52.806999206543,-95.1330032348633"/>
								</PathGeometry.Transform>
							</PathGeometry>
						</Canvas.Clip>
						<Path Stretch="Fill" Width="106.493" Height="46.447" Canvas.Left="0" Canvas.Top="0" Data="F1M107.474,135C125.785,135,143.271,137.091,159.3,140.888C154.996,114.918,132.829,95.133,106.115,95.133C79.16,95.133,56.826,115.269,52.807,141.58C69.6,137.345,88.075,135,107.474,135">
							<Path.OpacityMask>
								<LinearGradientBrush EndPoint="0.5,0" StartPoint="0.5,1">
									<GradientStop Color="Black" Offset="0"/>
									<GradientStop Color="Black" Offset="1"/>
								</LinearGradientBrush>
							</Path.OpacityMask>
							<Path.Fill>
								<LinearGradientBrush EndPoint="0.5,0" StartPoint="0.5,1">
									<GradientStop Color="White" Offset="0"/>
									<GradientStop Color="White" Offset="1"/>
								</LinearGradientBrush>
							</Path.Fill>
						</Path>
					</Canvas>
				</Canvas>
			</Canvas>
			<Label x:Name="_locationName" HorizontalAlignment="Center" Margin="0,0,0,22.6" VerticalAlignment="Bottom" Content="{Binding ShortName, Mode=Default}" FontFamily="Century Gothic" Foreground="White" Padding="5,0"/>
			<Button HorizontalAlignment="Right" x:Name="_configBt" VerticalAlignment="Top" Content="Setup" FontSize="10" Style="{DynamicResource InfoButStyle}" Margin="0,17.333,22.333,0" Opacity="0"/>
			<Label VerticalAlignment="Top" Content="{Binding AM_PM, Mode=Default}" Foreground="#FF111111" FontFamily="Century Gothic" d:LayoutOverrides="Width" HorizontalAlignment="Center" Margin="0,10,0,0"/>
		</Grid>
	</Grid>
</UserControl>